package com.leyou.job.utils;


public interface RedisLock {
    //获取锁，需要制定锁的有效时间
    boolean lock(long releaseTime);
    //释放锁
    void unlock();
}
